import { createApp } from 'vue'

import App from './App.vue'
import router from './router'
import stores from '@/stores'
import 'element-plus/dist/index.css'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import '@/assets/style.css'

const app = createApp(App)

app.use(stores)
app.use(router)
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
}
app.mount('#app')
